package user;

import book.BookList;
import opeartion.IOPeration;

abstract public class User {
    protected String name;
    protected IOPeration[] operations;
    public User(String name){
        this.name=name;
    }
    abstract public int menu();
    public void doOperation(int choice, BookList bookList) {
        operations[choice].work(bookList);
    }
}
